<template>
  <ul class="org-tree-children">
    <Option :value="data.id" :label="data.orgName" :disabled="data.disabled">{{data.orgName}}</Option>
    <OrgTreeOptionSub v-if="data.children" v-for="(item,i) in data.children" :key="`org-tree-${i}-children-${data.id}`" :data="item"></OrgTreeOptionSub>
  </ul>
</template>

<script>
  export default {
    props:{
      data:{
        type: Object,
        default () {
          return {};
        }
      }
    },
    data(){
      return {

      }
    },
    computed:{

    },
    methods:{

    }
  }
</script>
